package com.giscloud.limp.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 法务项目管理
 *
 * @author giscloud
 * @email giscloud@giscloud.com
 * @date 2020-06-08 14:49:46
 */
public class LegalProjectExample {
    protected String orderByClause;
    protected boolean distinct;
    protected List<Criteria> oredCriteria;
    public LegalProjectExample() {
        oredCriteria = new ArrayList<Criteria>();
    }
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }
    public String getOrderByClause() {
        return orderByClause;
    }
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }
    public boolean isDistinct() {
        return distinct;
    }
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

                                    public Criteria andLegalProjectIdIsNull() {
                    addCriterion("legal_project_id is null");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectIdIsNotNull() {
                    addCriterion("legal_project_id is not null");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectIdEqualTo(Integer value) {
                    addCriterion("legal_project_id =", value, "legalProjectId");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectIdNotEqualTo(Integer value) {
                    addCriterion("legal_project_id <>", value, "legalProjectId");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectIdGreaterThan(Integer value) {
                    addCriterion("legal_project_id >", value, "legalProjectId");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectIdGreaterThanOrEqualTo(Integer value) {
                    addCriterion("legal_project_id >=", value, "legalProjectId");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectIdLessThan(Integer value) {
                    addCriterion("legal_project_id <", value, "legalProjectId");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectIdLessThanOrEqualTo(Integer value) {
                    addCriterion("legal_project_id <=", value, "legalProjectId");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectIdIn(List<Integer> values) {
                    addCriterion("legal_project_id in", values, "legalProjectId");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectIdNotIn(List<Integer> values) {
                    addCriterion("legal_project_id not in", values, "legalProjectId");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectIdBetween(Integer value1, Integer value2) {
                    addCriterion("legal_project_id between", value1, value2, "legalProjectId");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectIdNotBetween(Integer value1, Integer value2) {
                    addCriterion("legal_project_id not between", value1, value2, "legalProjectId");
                    return (Criteria) this;
                }
                            public Criteria andLegalProjectNameLike(String value) {
                    addCriterion("legal_project_name like", value, "legalProjectName");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectNameNotLike(String value) {
                    addCriterion("legal_project_name not like", value, "legalProjectName");
                    return (Criteria) this;
                }
                            public Criteria andLegalProjectNameIsNull() {
                    addCriterion("legal_project_name is null");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectNameIsNotNull() {
                    addCriterion("legal_project_name is not null");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectNameEqualTo(String value) {
                    addCriterion("legal_project_name =", value, "legalProjectName");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectNameNotEqualTo(String value) {
                    addCriterion("legal_project_name <>", value, "legalProjectName");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectNameGreaterThan(String value) {
                    addCriterion("legal_project_name >", value, "legalProjectName");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectNameGreaterThanOrEqualTo(String value) {
                    addCriterion("legal_project_name >=", value, "legalProjectName");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectNameLessThan(String value) {
                    addCriterion("legal_project_name <", value, "legalProjectName");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectNameLessThanOrEqualTo(String value) {
                    addCriterion("legal_project_name <=", value, "legalProjectName");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectNameIn(List<String> values) {
                    addCriterion("legal_project_name in", values, "legalProjectName");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectNameNotIn(List<String> values) {
                    addCriterion("legal_project_name not in", values, "legalProjectName");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectNameBetween(String value1, String value2) {
                    addCriterion("legal_project_name between", value1, value2, "legalProjectName");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectNameNotBetween(String value1, String value2) {
                    addCriterion("legal_project_name not between", value1, value2, "legalProjectName");
                    return (Criteria) this;
                }
                                    public Criteria andLegalProjectTypeIsNull() {
                    addCriterion("legal_project_type is null");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectTypeIsNotNull() {
                    addCriterion("legal_project_type is not null");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectTypeEqualTo(Integer value) {
                    addCriterion("legal_project_type =", value, "legalProjectType");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectTypeNotEqualTo(Integer value) {
                    addCriterion("legal_project_type <>", value, "legalProjectType");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectTypeGreaterThan(Integer value) {
                    addCriterion("legal_project_type >", value, "legalProjectType");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectTypeGreaterThanOrEqualTo(Integer value) {
                    addCriterion("legal_project_type >=", value, "legalProjectType");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectTypeLessThan(Integer value) {
                    addCriterion("legal_project_type <", value, "legalProjectType");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectTypeLessThanOrEqualTo(Integer value) {
                    addCriterion("legal_project_type <=", value, "legalProjectType");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectTypeIn(List<Integer> values) {
                    addCriterion("legal_project_type in", values, "legalProjectType");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectTypeNotIn(List<Integer> values) {
                    addCriterion("legal_project_type not in", values, "legalProjectType");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectTypeBetween(Integer value1, Integer value2) {
                    addCriterion("legal_project_type between", value1, value2, "legalProjectType");
                    return (Criteria) this;
                }

                public Criteria andLegalProjectTypeNotBetween(Integer value1, Integer value2) {
                    addCriterion("legal_project_type not between", value1, value2, "legalProjectType");
                    return (Criteria) this;
                }
                                    public Criteria andRelOrgIdIsNull() {
                    addCriterion("rel_org_id is null");
                    return (Criteria) this;
                }

                public Criteria andRelOrgIdIsNotNull() {
                    addCriterion("rel_org_id is not null");
                    return (Criteria) this;
                }

                public Criteria andRelOrgIdEqualTo(Integer value) {
                    addCriterion("rel_org_id =", value, "relOrgId");
                    return (Criteria) this;
                }

                public Criteria andRelOrgIdNotEqualTo(Integer value) {
                    addCriterion("rel_org_id <>", value, "relOrgId");
                    return (Criteria) this;
                }

                public Criteria andRelOrgIdGreaterThan(Integer value) {
                    addCriterion("rel_org_id >", value, "relOrgId");
                    return (Criteria) this;
                }

                public Criteria andRelOrgIdGreaterThanOrEqualTo(Integer value) {
                    addCriterion("rel_org_id >=", value, "relOrgId");
                    return (Criteria) this;
                }

                public Criteria andRelOrgIdLessThan(Integer value) {
                    addCriterion("rel_org_id <", value, "relOrgId");
                    return (Criteria) this;
                }

                public Criteria andRelOrgIdLessThanOrEqualTo(Integer value) {
                    addCriterion("rel_org_id <=", value, "relOrgId");
                    return (Criteria) this;
                }

                public Criteria andRelOrgIdIn(List<Integer> values) {
                    addCriterion("rel_org_id in", values, "relOrgId");
                    return (Criteria) this;
                }

                public Criteria andRelOrgIdNotIn(List<Integer> values) {
                    addCriterion("rel_org_id not in", values, "relOrgId");
                    return (Criteria) this;
                }

                public Criteria andRelOrgIdBetween(Integer value1, Integer value2) {
                    addCriterion("rel_org_id between", value1, value2, "relOrgId");
                    return (Criteria) this;
                }

                public Criteria andRelOrgIdNotBetween(Integer value1, Integer value2) {
                    addCriterion("rel_org_id not between", value1, value2, "relOrgId");
                    return (Criteria) this;
                }
                            public Criteria andRelOrgNameLike(String value) {
                    addCriterion("rel_org_name like", value, "relOrgName");
                    return (Criteria) this;
                }

                public Criteria andRelOrgNameNotLike(String value) {
                    addCriterion("rel_org_name not like", value, "relOrgName");
                    return (Criteria) this;
                }
                            public Criteria andRelOrgNameIsNull() {
                    addCriterion("rel_org_name is null");
                    return (Criteria) this;
                }

                public Criteria andRelOrgNameIsNotNull() {
                    addCriterion("rel_org_name is not null");
                    return (Criteria) this;
                }

                public Criteria andRelOrgNameEqualTo(String value) {
                    addCriterion("rel_org_name =", value, "relOrgName");
                    return (Criteria) this;
                }

                public Criteria andRelOrgNameNotEqualTo(String value) {
                    addCriterion("rel_org_name <>", value, "relOrgName");
                    return (Criteria) this;
                }

                public Criteria andRelOrgNameGreaterThan(String value) {
                    addCriterion("rel_org_name >", value, "relOrgName");
                    return (Criteria) this;
                }

                public Criteria andRelOrgNameGreaterThanOrEqualTo(String value) {
                    addCriterion("rel_org_name >=", value, "relOrgName");
                    return (Criteria) this;
                }

                public Criteria andRelOrgNameLessThan(String value) {
                    addCriterion("rel_org_name <", value, "relOrgName");
                    return (Criteria) this;
                }

                public Criteria andRelOrgNameLessThanOrEqualTo(String value) {
                    addCriterion("rel_org_name <=", value, "relOrgName");
                    return (Criteria) this;
                }

                public Criteria andRelOrgNameIn(List<String> values) {
                    addCriterion("rel_org_name in", values, "relOrgName");
                    return (Criteria) this;
                }

                public Criteria andRelOrgNameNotIn(List<String> values) {
                    addCriterion("rel_org_name not in", values, "relOrgName");
                    return (Criteria) this;
                }

                public Criteria andRelOrgNameBetween(String value1, String value2) {
                    addCriterion("rel_org_name between", value1, value2, "relOrgName");
                    return (Criteria) this;
                }

                public Criteria andRelOrgNameNotBetween(String value1, String value2) {
                    addCriterion("rel_org_name not between", value1, value2, "relOrgName");
                    return (Criteria) this;
                }
                            public Criteria andRemarkLike(String value) {
                    addCriterion("remark like", value, "remark");
                    return (Criteria) this;
                }

                public Criteria andRemarkNotLike(String value) {
                    addCriterion("remark not like", value, "remark");
                    return (Criteria) this;
                }
                            public Criteria andRemarkIsNull() {
                    addCriterion("remark is null");
                    return (Criteria) this;
                }

                public Criteria andRemarkIsNotNull() {
                    addCriterion("remark is not null");
                    return (Criteria) this;
                }

                public Criteria andRemarkEqualTo(String value) {
                    addCriterion("remark =", value, "remark");
                    return (Criteria) this;
                }

                public Criteria andRemarkNotEqualTo(String value) {
                    addCriterion("remark <>", value, "remark");
                    return (Criteria) this;
                }

                public Criteria andRemarkGreaterThan(String value) {
                    addCriterion("remark >", value, "remark");
                    return (Criteria) this;
                }

                public Criteria andRemarkGreaterThanOrEqualTo(String value) {
                    addCriterion("remark >=", value, "remark");
                    return (Criteria) this;
                }

                public Criteria andRemarkLessThan(String value) {
                    addCriterion("remark <", value, "remark");
                    return (Criteria) this;
                }

                public Criteria andRemarkLessThanOrEqualTo(String value) {
                    addCriterion("remark <=", value, "remark");
                    return (Criteria) this;
                }

                public Criteria andRemarkIn(List<String> values) {
                    addCriterion("remark in", values, "remark");
                    return (Criteria) this;
                }

                public Criteria andRemarkNotIn(List<String> values) {
                    addCriterion("remark not in", values, "remark");
                    return (Criteria) this;
                }

                public Criteria andRemarkBetween(String value1, String value2) {
                    addCriterion("remark between", value1, value2, "remark");
                    return (Criteria) this;
                }

                public Criteria andRemarkNotBetween(String value1, String value2) {
                    addCriterion("remark not between", value1, value2, "remark");
                    return (Criteria) this;
                }
                                    public Criteria andStatusCdIsNull() {
                    addCriterion("status_cd is null");
                    return (Criteria) this;
                }

                public Criteria andStatusCdIsNotNull() {
                    addCriterion("status_cd is not null");
                    return (Criteria) this;
                }

                public Criteria andStatusCdEqualTo(Integer value) {
                    addCriterion("status_cd =", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdNotEqualTo(Integer value) {
                    addCriterion("status_cd <>", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdGreaterThan(Integer value) {
                    addCriterion("status_cd >", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdGreaterThanOrEqualTo(Integer value) {
                    addCriterion("status_cd >=", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdLessThan(Integer value) {
                    addCriterion("status_cd <", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdLessThanOrEqualTo(Integer value) {
                    addCriterion("status_cd <=", value, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdIn(List<Integer> values) {
                    addCriterion("status_cd in", values, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdNotIn(List<Integer> values) {
                    addCriterion("status_cd not in", values, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdBetween(Integer value1, Integer value2) {
                    addCriterion("status_cd between", value1, value2, "statusCd");
                    return (Criteria) this;
                }

                public Criteria andStatusCdNotBetween(Integer value1, Integer value2) {
                    addCriterion("status_cd not between", value1, value2, "statusCd");
                    return (Criteria) this;
                }
                                    public Criteria andCreatedStaffIdIsNull() {
                    addCriterion("created_staff_id is null");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdIsNotNull() {
                    addCriterion("created_staff_id is not null");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdEqualTo(Integer value) {
                    addCriterion("created_staff_id =", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdNotEqualTo(Integer value) {
                    addCriterion("created_staff_id <>", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdGreaterThan(Integer value) {
                    addCriterion("created_staff_id >", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdGreaterThanOrEqualTo(Integer value) {
                    addCriterion("created_staff_id >=", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdLessThan(Integer value) {
                    addCriterion("created_staff_id <", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdLessThanOrEqualTo(Integer value) {
                    addCriterion("created_staff_id <=", value, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdIn(List<Integer> values) {
                    addCriterion("created_staff_id in", values, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdNotIn(List<Integer> values) {
                    addCriterion("created_staff_id not in", values, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdBetween(Integer value1, Integer value2) {
                    addCriterion("created_staff_id between", value1, value2, "createdStaffId");
                    return (Criteria) this;
                }

                public Criteria andCreatedStaffIdNotBetween(Integer value1, Integer value2) {
                    addCriterion("created_staff_id not between", value1, value2, "createdStaffId");
                    return (Criteria) this;
                }
                                    public Criteria andCreatedDtIsNull() {
                    addCriterion("created_dt is null");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtIsNotNull() {
                    addCriterion("created_dt is not null");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtEqualTo(Date value) {
                    addCriterion("created_dt =", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtNotEqualTo(Date value) {
                    addCriterion("created_dt <>", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtGreaterThan(Date value) {
                    addCriterion("created_dt >", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtGreaterThanOrEqualTo(Date value) {
                    addCriterion("created_dt >=", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtLessThan(Date value) {
                    addCriterion("created_dt <", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtLessThanOrEqualTo(Date value) {
                    addCriterion("created_dt <=", value, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtIn(List<Date> values) {
                    addCriterion("created_dt in", values, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtNotIn(List<Date> values) {
                    addCriterion("created_dt not in", values, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtBetween(Date value1, Date value2) {
                    addCriterion("created_dt between", value1, value2, "createdDt");
                    return (Criteria) this;
                }

                public Criteria andCreatedDtNotBetween(Date value1, Date value2) {
                    addCriterion("created_dt not between", value1, value2, "createdDt");
                    return (Criteria) this;
                }
                                    public Criteria andOperateStaffIdIsNull() {
                    addCriterion("operate_staff_id is null");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdIsNotNull() {
                    addCriterion("operate_staff_id is not null");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdEqualTo(Integer value) {
                    addCriterion("operate_staff_id =", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdNotEqualTo(Integer value) {
                    addCriterion("operate_staff_id <>", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdGreaterThan(Integer value) {
                    addCriterion("operate_staff_id >", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdGreaterThanOrEqualTo(Integer value) {
                    addCriterion("operate_staff_id >=", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdLessThan(Integer value) {
                    addCriterion("operate_staff_id <", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdLessThanOrEqualTo(Integer value) {
                    addCriterion("operate_staff_id <=", value, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdIn(List<Integer> values) {
                    addCriterion("operate_staff_id in", values, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdNotIn(List<Integer> values) {
                    addCriterion("operate_staff_id not in", values, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdBetween(Integer value1, Integer value2) {
                    addCriterion("operate_staff_id between", value1, value2, "operateStaffId");
                    return (Criteria) this;
                }

                public Criteria andOperateStaffIdNotBetween(Integer value1, Integer value2) {
                    addCriterion("operate_staff_id not between", value1, value2, "operateStaffId");
                    return (Criteria) this;
                }
                                    public Criteria andVersionIsNull() {
                    addCriterion("version is null");
                    return (Criteria) this;
                }

                public Criteria andVersionIsNotNull() {
                    addCriterion("version is not null");
                    return (Criteria) this;
                }

                public Criteria andVersionEqualTo(Date value) {
                    addCriterion("version =", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionNotEqualTo(Date value) {
                    addCriterion("version <>", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionGreaterThan(Date value) {
                    addCriterion("version >", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionGreaterThanOrEqualTo(Date value) {
                    addCriterion("version >=", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionLessThan(Date value) {
                    addCriterion("version <", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionLessThanOrEqualTo(Date value) {
                    addCriterion("version <=", value, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionIn(List<Date> values) {
                    addCriterion("version in", values, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionNotIn(List<Date> values) {
                    addCriterion("version not in", values, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionBetween(Date value1, Date value2) {
                    addCriterion("version between", value1, value2, "version");
                    return (Criteria) this;
                }

                public Criteria andVersionNotBetween(Date value1, Date value2) {
                    addCriterion("version not between", value1, value2, "version");
                    return (Criteria) this;
                }
            }


}